gesture: Fix gtk_gesture_get_bounding_box
authorMatthias Clasen <mclasen@redhat.com>
Sat, 28 Mar 2020 19:03:33 +0000 (15:03 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 28 Mar 2020 19:03:33 +0000 (15:03 -0400)
commit7916b95bc59d4cf93bdbc68ba13e241b9a8e0a36
tree1ec973e55fc89fd6ba3cd9cc430e67b5d1affbe8
parent7b135c96e4d269384000fd3bf81f96333e95b3e6
gesture: Fix gtk_gesture_get_bounding_box

When we stopped translating event coordinates in-place,
this function inadvertently started returning surface-relative
bounding boxes instead of widget-relative ones, as expected.

Fix this by using the widget-relative coordinates that we
already store.
gtk/gtkgesture.c